uni.getSystemInfo({
	success: function(res) {

		if (res.platform == 'ios') {
			console.log("苹果机器111")

		} else {
			console.log("不是苹果机器222")
		}
		console.log(res.platform);
	}
});
//siteurl
const siteurl = 'https://www.tongyongjiakao.com';
// const siteurl = 'http://10.0.0.25:8685/jiaxiaoapp_war';
const upurl = 'https://www.tongyongjiakao.com/';
// const siteurl = 'https://jiaxiaohurmet.natapp4.cc';
// const upurl = 'https://jiaxiaohurmet.natapp4.cc/';

const yunurl = 'https://tongyongjiakao-1307163845.cos.ap-shanghai.myqcloud.com/Tiku_img/';
//微信，苹果登陆接口
const wxlogin_api = 'Service/wxLogin.do';
//激活接口
const jihuo_api = 'Service/jihuoorrevoke.do';
//套餐接口  套餐列表
const taocan_api = 'Service/taoCanList.do';
//视频列表  type:0 一般视频,1-灯光操作,2-相关视频  
const videolist_api = 'Service/videosList.do';
//交通标志列表
const jiaotongbiaozhilist_api = 'Service/jiaoTongBiaoZhiList.do';
//语音列表
const yuyinlist_api = 'Service/yuyingList.do';
//卡号卡密列表
const cartlist_api = 'Service/cardList.do';
//教练列表
const jiaolianlist_api = 'Service/jiaoLianList.do';
//驾校列表
const jiaxiaolist_api = 'Service/jiaXiaoList.do';
//卡号卡密激活接口
//const jihuoka_api = 'Service/jihuoorrevoke.do'; //以下接口明天编写详细 1-12
// 关于我们接口
const about_api = 'Service/appInfo.do';
// 升级接口
const updpk_api = 'Service/versionInfo.do';
// 卡号列表 激活，撤消激活
const kaaction_api = 'Service/cardActive.do';

//意见反馈接口
const yijian_api = 'Service/yijianFanKui.do';

//小程序接口
const tikucounts_api = 'Service/tikuInfo.do';

//上传图片接口
const upimages_api = 'Service/uploadImage.do';
const upimgurl = 'https://www.tongyongjiakao.com/Service/uploadImage.do';

//题库顺序查找接口
const tikuindex_api = 'Service/tikuByIndex.do';

//题库所有列表
const tikuQuery_all = 'Service/tikuQueryAll.do';

//错题收藏列表接口
const cuotilist_api = 'Service/shoucangList.do';

//广告列表接口
const guanggao_api = 'Service/guanggaoList.do'; //type=0 首页

//添加删除错题收藏
const shoucang_api = 'Service/shoucang.do'; //shoucang = true是加入收藏 false 取消收藏

//模拟考试接口
const monei_api =
'Service/randomTiku.do'; //danxuan_random_count 是单选题数量， duoxuan_random_count 是多选题数量 duicuo_random_count 是判断题数量

const wxminilogin_api = 'Service/miniprogLogin.do';

//检查支付状态  如果支付成功0   如果支付失败2  如果没有结果1，重新查询
const checkpay_api = 'Service/getPayStatus.do';

//创建支付订单
const pay_api = 'Service/pay.do';

//tid 获取题库
const tikutid_api = 'Service/tikuByTid.do';

//批量删除收藏  发送unionid
const alldelshoucang_api = 'Service/clear_shoucang.do';

//视频点击接口
const hitsvideo_api = 'Service/add_play_count.do';

//视频详细获取
const videocon_api = 'Service/getVideoById.do';

//卡号促销价格
const cartshops_api = 'Service/jiageInfo.do';

//苹果内购
const applepay_api = 'Service/OpenVip.do'

//搜索
const search_api = 'Service/cardList.do'

//精选
const jingxuan_api = 'Service/jingXuanTikuByIndex.do'

//控制模块显示和隐藏
const isShow_api = 'Service/getTheIsShowStatus.do'
// 隐私协议
const privacy_api = 'Front/yszc.do'
const userInfo_api = 'Service/getUserInfoByUid.do'

export {
	siteurl,
	jihuo_api,
	taocan_api,
	videolist_api,
	jiaotongbiaozhilist_api,
	yuyinlist_api,
	cartlist_api,
	jiaolianlist_api,
	jiaxiaolist_api,
	//jihuoka_api,
	about_api,
	updpk_api,
	kaaction_api,
	wxlogin_api,
	//miniprogram
	tikucounts_api,
	yijian_api,
	upimages_api,
	upimgurl,
	upurl,
	tikuindex_api,
	tikuQuery_all,
	cuotilist_api,
	guanggao_api,
	shoucang_api,
	monei_api,
	wxminilogin_api,
	pay_api,
	checkpay_api,
	yunurl,
	tikutid_api,
	alldelshoucang_api,
	hitsvideo_api,
	videocon_api,
	cartshops_api,
	applepay_api,
	search_api,
	jingxuan_api,
	isShow_api,
	privacy_api,
	userInfo_api
};